package com.leyou.common.exception;

import com.leyou.common.enums.ExceptionEnum;
import lombok.Getter;

/**
 * @ClassName: LyException
 * @Description: 统一异常处理
 * @Author: sunt
 * @Date: 2019/11/13 18:03
 * @Version 1.0
 **/
@Getter
public class LyException extends RuntimeException {

    private ExceptionEnum exceptionEnum;

    public LyException(ExceptionEnum exceptionEnum) {
        this.exceptionEnum = exceptionEnum;
    }
}
